package nxu.it.movieapi.service.mapper;


import nxu.it.api.model.SimpleStaff;
import nxu.it.api.model.Staff;

import nxu.it.movieapi.Doc.StaffDoc;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "spring")
public interface StaffMapper {
    Staff fromDoc(StaffDoc staffDoc);

    List<Staff> fromDocList(List<StaffDoc> staffDocList);

    List<SimpleStaff> toSimpleStaffList(List<StaffDoc> staffList);
}
